package com.jxk.test.filter;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebListener;
import java.io.IOException;

/**
 * @ClassName : MyFilter  //类名
 * @Description :   //描述
 * @Author : jxk  //作者
 * @Date: 2020-09-21 14:48  //时间
 */
public class MyFilter implements Filter {
    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        System.out.println("hello ,你被过滤了");
        chain.doFilter(request,response);
    }
}
